package business.report.impl;

import business.report.PoliceLawSService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import report.domain.PoliceLawService;
import report.domain.PoliceLawServiceCriteria;
import report.mapper.PoliceLawServiceMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/13.
 */
@Service(value ="policeLawSService")
public class PoliceLawSServiceImpl implements PoliceLawSService{

    @Autowired
    PoliceLawServiceMapper policeLawServiceMapper;

    @Override
    public List<PoliceLawService> selectAllPoliceLawService() {
        PoliceLawServiceCriteria criteria =new PoliceLawServiceCriteria();
        criteria.createCriteria().getAllCriteria();
        return policeLawServiceMapper.selectByExample(criteria);
    }
}
